﻿<?xml version="1.0"?>
<Orchard>
  <Recipe>
    <Name>Coevery</Name>
    <Description>A recipe providing the features for CRM Leads.</Description>
    <Author>Coevery work Team</Author>
    <WebSite>http://orchardproject.net</WebSite>
    <Tags>Coevery</Tags>
    <Version>1.0</Version>
  </Recipe>

  <Feature enable="Coevery.Core,Orchard.Projections,
                   Coevery.Entities,
                   Coevery.Perspectives,
                   Coevery.FormDesigner,
                   Coevery.Fields,
                   Coevery.Projections,
                   Coevery.DynamicTypes,
                   Coevery.Relationship,
                   Coevery.OptionSet,
                   Orchard.Alias,
                   Orchard.Autoroute,
                   Orchard.ContentPicker, 
                   Orchard.jQuery,
                   Orchard.AngularJS,
                   Orchard.Widgets,
                   Orchard.Scripting,
                   Orchard.Scripting.Lightweight" />

  <Metadata>
    <Types>
      <Page ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
        <TagsPart />
        <LocalizationPart />
        <AutoroutePart />
      </Page>
      <BlogPost ContentTypeSettings.Draftable="True" TypeIndexing.Indexes="Search">
        <CommentsPart />
        <TagsPart />
        <LocalizationPart />
        <TitlePart/>
        <AutoroutePart />
      </BlogPost>
    </Types>
    <Parts>
      <BodyPart BodyPartSettings.FlavorDefault="html" />
    </Parts>
  </Metadata>

  <Settings>
    <SiteSettingsPart PageSize="20" PageTitleSeparator = " - " />
    <CommentSettingsPart ModerateComments="true" />
  </Settings>

  <Migration features="*" />

  <Command>
    layer create Default /LayerRule:"true" /Description:"The widgets in this layer are displayed on all pages"
    layer create Authenticated /LayerRule:"authenticated" /Description:"The widgets in this layer are displayed when the user is authenticated"
    layer create Anonymous /LayerRule:"not authenticated" /Description:"The widgets in this layer are displayed when the user is anonymous"
    layer create Disabled /LayerRule:"false" /Description:"The widgets in this layer are never displayed"
    layer create TheHomepage /LayerRule:"url '~/'" /Description:"The widgets in this layer are displayed on the home page"
    widget create HtmlWidget /Title:"First Leader Aside" /Zone:"TripelFirst" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget1" /UseLoremIpsumText:true
    widget create HtmlWidget /Title:"Second Leader Aside" /Zone:"TripelSecond" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget2" /UseLoremIpsumText:true
    widget create HtmlWidget /Title:"Third Leader Aside" /Zone:"TripelThird" /Position:"5" /Layer:"TheHomepage" /Identity:"SetupHtmlWidget3" /UseLoremIpsumText:true
    site setting set baseurl
    theme activate "Mooncake"

    page create /Slug:"welcome-to-Coevery" /Title:"Welcome to Coevery!" /Path:"welcome-to-coevery" /Homepage:true /Publish:true /Text:"Welcome To Coevery!"
    set route
  </Command>
</Orchard>
